package me.fanwu;

import me.fanwu.controllers.AlipayController;
import spark.ModelAndView;

import static spark.Spark.get;
import static spark.Spark.port;

/*
 * Wupher 编写于 2016/11/4.
 */
public class Main {
    public static void main(String[] args) {
        port(8080);
        get("/", (rq,rs)->new ModelAndView(null,"index.html"), AlipayController.engine);
        get("/alipay/callback", AlipayController.serverCallBack);
    }
}
